<!DOCTYPE html>
<html lang="fr">

    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <title>
            <?php if (!isset($title)) { ?>
                RepStream - Administration
                <?php
            } else {
                echo "RepStream - " . $title;
            }
            ?>
        </title>
        <link type="text/css" href="../css/style_admin.css" rel="stylesheet" />
        <!--[if lte IE 6]>
          <link type="text/css" href="../css/style_admin_ie6.css" rel="stylesheet" />
        <![endif]-->
        <script type="text/javascript" src="../js/vendor/jquery-1.8.0.min.js"></script>
        <script type="text/javascript" src="../js/script.js"></script>
    </head>

    <body>
        <div id="page">

            <!-- header -->
            <div id="header">
                <div id="logo"><h1><a href="." title="Your site name">RepStream - Administration</a></h1></div>
                <div id="quicklink"><a href="../" title="Admin profile">Retour au site</a> | <a href="../logout.html" title="logout">logout</a></div>
            </div>
            <!-- end header -->


            <!-- main menu -->
            <?php if ($title === "Dashboard") { ?>
                <div id="mainmenu">
                    <ul>
                        <li><a href="." title="" class="active">Management du contenu</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
                        <li><a href="users.html" title="">Management des Utilisateurs</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
                        <li><a href="settings.html" title="">Paramétres de l'application</a></li>
                    </ul>
                </div>
                <?php } elseif ($title === "Users") {
                ?>
                <div id="mainmenu">
                    <ul>
                        <li><a href="." title="">Management du contenu</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
                        <li><a href="users.html" title="" class="active">Management des Utilisateurs</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
                        <li><a href="settings.html" title="">Paramétres de l'application</a></li>
                    </ul>
                </div>
                <?php } elseif ($title === "Settings") {
                ?>
                <div id="mainmenu">
                    <ul>
                        <li><a href="." title="">Management du contenu</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
                        <li><a href="users.html" title="">Management des Utilisateurs</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
                        <li><a href="settings.html" title="" class="active">Paramétres de l'application</a></li>
                    </ul>
                </div>
                <?php }
            ?>


            <!-- end mainmenu -->

            <!-- content -->

            <?php echo $content; ?>

            <!-- end div content -->

            <!-- Footer -->
            <div id="footer">
                <ul>
                    <li>&copy;2012 <a href="#" title="">RepStream</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
                    <li>Powered by <a href="#" title="">ExpertIT</a></li>
                </ul>
            </div>

        </div>
        <!-- end div page -->
    </body>

</html>